package com.ruoyi.dynamic.model.pojo.request.app;


import com.ruoyi.common.core.annotation.valid.group.ValidGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(description = "APP-发起礼物投票")
public class AppRoomVoteAddRequest {

    @Schema(description = "房间id")
    @NotNull(message = "房间id不能为空",groups = {ValidGroup.Insert.class})
    private Long roomId;

    @Schema(description ="投票时长(s)")
    @NotNull(message = "投票时长(s)不能为空",groups = {ValidGroup.Insert.class})
    private Integer voteTime;

    @Schema(description ="投票对方主题")
    @NotBlank(message = "投票对方主题不能为空",groups = {ValidGroup.Insert.class})
    private String voteOther;

    @Schema(description ="投票一方主题")
    @NotBlank(message = "投票一方主题不能为空",groups = {ValidGroup.Insert.class})
    private String voteThese;

    @Schema(description ="另外一方礼物id")
    @NotNull(message = "另外一方礼物id不能为空",groups = {ValidGroup.Insert.class})
    private Long otherGiftId;

    @Schema(description ="一方礼物id")
    @NotNull(message = "一方礼物id不能为空",groups = {ValidGroup.Insert.class})
    private Long theseGiftId;

}
